package com.literature.threeGroup.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ResourceInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ResourceInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIsNull() {
            addCriterion("purchase_id is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIsNotNull() {
            addCriterion("purchase_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdEqualTo(String value) {
            addCriterion("purchase_id =", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotEqualTo(String value) {
            addCriterion("purchase_id <>", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdGreaterThan(String value) {
            addCriterion("purchase_id >", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdGreaterThanOrEqualTo(String value) {
            addCriterion("purchase_id >=", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdLessThan(String value) {
            addCriterion("purchase_id <", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdLessThanOrEqualTo(String value) {
            addCriterion("purchase_id <=", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdLike(String value) {
            addCriterion("purchase_id like", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotLike(String value) {
            addCriterion("purchase_id not like", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIn(List<String> values) {
            addCriterion("purchase_id in", values, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotIn(List<String> values) {
            addCriterion("purchase_id not in", values, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdBetween(String value1, String value2) {
            addCriterion("purchase_id between", value1, value2, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotBetween(String value1, String value2) {
            addCriterion("purchase_id not between", value1, value2, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andOtherTitleIsNull() {
            addCriterion("other_title is null");
            return (Criteria) this;
        }

        public Criteria andOtherTitleIsNotNull() {
            addCriterion("other_title is not null");
            return (Criteria) this;
        }

        public Criteria andOtherTitleEqualTo(String value) {
            addCriterion("other_title =", value, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleNotEqualTo(String value) {
            addCriterion("other_title <>", value, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleGreaterThan(String value) {
            addCriterion("other_title >", value, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleGreaterThanOrEqualTo(String value) {
            addCriterion("other_title >=", value, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleLessThan(String value) {
            addCriterion("other_title <", value, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleLessThanOrEqualTo(String value) {
            addCriterion("other_title <=", value, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleLike(String value) {
            addCriterion("other_title like", value, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleNotLike(String value) {
            addCriterion("other_title not like", value, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleIn(List<String> values) {
            addCriterion("other_title in", values, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleNotIn(List<String> values) {
            addCriterion("other_title not in", values, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleBetween(String value1, String value2) {
            addCriterion("other_title between", value1, value2, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andOtherTitleNotBetween(String value1, String value2) {
            addCriterion("other_title not between", value1, value2, "otherTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleIsNull() {
            addCriterion("series_title is null");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleIsNotNull() {
            addCriterion("series_title is not null");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleEqualTo(String value) {
            addCriterion("series_title =", value, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleNotEqualTo(String value) {
            addCriterion("series_title <>", value, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleGreaterThan(String value) {
            addCriterion("series_title >", value, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleGreaterThanOrEqualTo(String value) {
            addCriterion("series_title >=", value, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleLessThan(String value) {
            addCriterion("series_title <", value, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleLessThanOrEqualTo(String value) {
            addCriterion("series_title <=", value, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleLike(String value) {
            addCriterion("series_title like", value, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleNotLike(String value) {
            addCriterion("series_title not like", value, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleIn(List<String> values) {
            addCriterion("series_title in", values, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleNotIn(List<String> values) {
            addCriterion("series_title not in", values, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleBetween(String value1, String value2) {
            addCriterion("series_title between", value1, value2, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andSeriesTitleNotBetween(String value1, String value2) {
            addCriterion("series_title not between", value1, value2, "seriesTitle");
            return (Criteria) this;
        }

        public Criteria andPissnIsNull() {
            addCriterion("Pissn is null");
            return (Criteria) this;
        }

        public Criteria andPissnIsNotNull() {
            addCriterion("Pissn is not null");
            return (Criteria) this;
        }

        public Criteria andPissnEqualTo(String value) {
            addCriterion("Pissn =", value, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnNotEqualTo(String value) {
            addCriterion("Pissn <>", value, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnGreaterThan(String value) {
            addCriterion("Pissn >", value, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnGreaterThanOrEqualTo(String value) {
            addCriterion("Pissn >=", value, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnLessThan(String value) {
            addCriterion("Pissn <", value, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnLessThanOrEqualTo(String value) {
            addCriterion("Pissn <=", value, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnLike(String value) {
            addCriterion("Pissn like", value, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnNotLike(String value) {
            addCriterion("Pissn not like", value, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnIn(List<String> values) {
            addCriterion("Pissn in", values, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnNotIn(List<String> values) {
            addCriterion("Pissn not in", values, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnBetween(String value1, String value2) {
            addCriterion("Pissn between", value1, value2, "pissn");
            return (Criteria) this;
        }

        public Criteria andPissnNotBetween(String value1, String value2) {
            addCriterion("Pissn not between", value1, value2, "pissn");
            return (Criteria) this;
        }

        public Criteria andEissnIsNull() {
            addCriterion("Eissn is null");
            return (Criteria) this;
        }

        public Criteria andEissnIsNotNull() {
            addCriterion("Eissn is not null");
            return (Criteria) this;
        }

        public Criteria andEissnEqualTo(String value) {
            addCriterion("Eissn =", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnNotEqualTo(String value) {
            addCriterion("Eissn <>", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnGreaterThan(String value) {
            addCriterion("Eissn >", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnGreaterThanOrEqualTo(String value) {
            addCriterion("Eissn >=", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnLessThan(String value) {
            addCriterion("Eissn <", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnLessThanOrEqualTo(String value) {
            addCriterion("Eissn <=", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnLike(String value) {
            addCriterion("Eissn like", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnNotLike(String value) {
            addCriterion("Eissn not like", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnIn(List<String> values) {
            addCriterion("Eissn in", values, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnNotIn(List<String> values) {
            addCriterion("Eissn not in", values, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnBetween(String value1, String value2) {
            addCriterion("Eissn between", value1, value2, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnNotBetween(String value1, String value2) {
            addCriterion("Eissn not between", value1, value2, "eissn");
            return (Criteria) this;
        }

        public Criteria andPisbnIsNull() {
            addCriterion("Pisbn is null");
            return (Criteria) this;
        }

        public Criteria andPisbnIsNotNull() {
            addCriterion("Pisbn is not null");
            return (Criteria) this;
        }

        public Criteria andPisbnEqualTo(String value) {
            addCriterion("Pisbn =", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnNotEqualTo(String value) {
            addCriterion("Pisbn <>", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnGreaterThan(String value) {
            addCriterion("Pisbn >", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnGreaterThanOrEqualTo(String value) {
            addCriterion("Pisbn >=", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnLessThan(String value) {
            addCriterion("Pisbn <", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnLessThanOrEqualTo(String value) {
            addCriterion("Pisbn <=", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnLike(String value) {
            addCriterion("Pisbn like", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnNotLike(String value) {
            addCriterion("Pisbn not like", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnIn(List<String> values) {
            addCriterion("Pisbn in", values, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnNotIn(List<String> values) {
            addCriterion("Pisbn not in", values, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnBetween(String value1, String value2) {
            addCriterion("Pisbn between", value1, value2, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnNotBetween(String value1, String value2) {
            addCriterion("Pisbn not between", value1, value2, "pisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnIsNull() {
            addCriterion("Eisbn is null");
            return (Criteria) this;
        }

        public Criteria andEisbnIsNotNull() {
            addCriterion("Eisbn is not null");
            return (Criteria) this;
        }

        public Criteria andEisbnEqualTo(String value) {
            addCriterion("Eisbn =", value, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnNotEqualTo(String value) {
            addCriterion("Eisbn <>", value, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnGreaterThan(String value) {
            addCriterion("Eisbn >", value, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnGreaterThanOrEqualTo(String value) {
            addCriterion("Eisbn >=", value, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnLessThan(String value) {
            addCriterion("Eisbn <", value, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnLessThanOrEqualTo(String value) {
            addCriterion("Eisbn <=", value, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnLike(String value) {
            addCriterion("Eisbn like", value, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnNotLike(String value) {
            addCriterion("Eisbn not like", value, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnIn(List<String> values) {
            addCriterion("Eisbn in", values, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnNotIn(List<String> values) {
            addCriterion("Eisbn not in", values, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnBetween(String value1, String value2) {
            addCriterion("Eisbn between", value1, value2, "eisbn");
            return (Criteria) this;
        }

        public Criteria andEisbnNotBetween(String value1, String value2) {
            addCriterion("Eisbn not between", value1, value2, "eisbn");
            return (Criteria) this;
        }

        public Criteria andOrderNumberIsNull() {
            addCriterion("order_number is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumberIsNotNull() {
            addCriterion("order_number is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumberEqualTo(String value) {
            addCriterion("order_number =", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberNotEqualTo(String value) {
            addCriterion("order_number <>", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberGreaterThan(String value) {
            addCriterion("order_number >", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberGreaterThanOrEqualTo(String value) {
            addCriterion("order_number >=", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberLessThan(String value) {
            addCriterion("order_number <", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberLessThanOrEqualTo(String value) {
            addCriterion("order_number <=", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberLike(String value) {
            addCriterion("order_number like", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberNotLike(String value) {
            addCriterion("order_number not like", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberIn(List<String> values) {
            addCriterion("order_number in", values, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberNotIn(List<String> values) {
            addCriterion("order_number not in", values, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberBetween(String value1, String value2) {
            addCriterion("order_number between", value1, value2, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberNotBetween(String value1, String value2) {
            addCriterion("order_number not between", value1, value2, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andKindIdIsNull() {
            addCriterion("kind_id is null");
            return (Criteria) this;
        }

        public Criteria andKindIdIsNotNull() {
            addCriterion("kind_id is not null");
            return (Criteria) this;
        }

        public Criteria andKindIdEqualTo(String value) {
            addCriterion("kind_id =", value, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdNotEqualTo(String value) {
            addCriterion("kind_id <>", value, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdGreaterThan(String value) {
            addCriterion("kind_id >", value, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdGreaterThanOrEqualTo(String value) {
            addCriterion("kind_id >=", value, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdLessThan(String value) {
            addCriterion("kind_id <", value, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdLessThanOrEqualTo(String value) {
            addCriterion("kind_id <=", value, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdLike(String value) {
            addCriterion("kind_id like", value, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdNotLike(String value) {
            addCriterion("kind_id not like", value, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdIn(List<String> values) {
            addCriterion("kind_id in", values, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdNotIn(List<String> values) {
            addCriterion("kind_id not in", values, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdBetween(String value1, String value2) {
            addCriterion("kind_id between", value1, value2, "kindId");
            return (Criteria) this;
        }

        public Criteria andKindIdNotBetween(String value1, String value2) {
            addCriterion("kind_id not between", value1, value2, "kindId");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNull() {
            addCriterion("subject is null");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNotNull() {
            addCriterion("subject is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectEqualTo(String value) {
            addCriterion("subject =", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotEqualTo(String value) {
            addCriterion("subject <>", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThan(String value) {
            addCriterion("subject >", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("subject >=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThan(String value) {
            addCriterion("subject <", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThanOrEqualTo(String value) {
            addCriterion("subject <=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLike(String value) {
            addCriterion("subject like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotLike(String value) {
            addCriterion("subject not like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectIn(List<String> values) {
            addCriterion("subject in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotIn(List<String> values) {
            addCriterion("subject not in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectBetween(String value1, String value2) {
            addCriterion("subject between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotBetween(String value1, String value2) {
            addCriterion("subject not between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andPublisherIsNull() {
            addCriterion("publisher is null");
            return (Criteria) this;
        }

        public Criteria andPublisherIsNotNull() {
            addCriterion("publisher is not null");
            return (Criteria) this;
        }

        public Criteria andPublisherEqualTo(String value) {
            addCriterion("publisher =", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherNotEqualTo(String value) {
            addCriterion("publisher <>", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherGreaterThan(String value) {
            addCriterion("publisher >", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherGreaterThanOrEqualTo(String value) {
            addCriterion("publisher >=", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherLessThan(String value) {
            addCriterion("publisher <", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherLessThanOrEqualTo(String value) {
            addCriterion("publisher <=", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherLike(String value) {
            addCriterion("publisher like", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherNotLike(String value) {
            addCriterion("publisher not like", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherIn(List<String> values) {
            addCriterion("publisher in", values, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherNotIn(List<String> values) {
            addCriterion("publisher not in", values, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherBetween(String value1, String value2) {
            addCriterion("publisher between", value1, value2, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherNotBetween(String value1, String value2) {
            addCriterion("publisher not between", value1, value2, "publisher");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("country is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("country is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("country =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("country <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("country >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("country >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("country <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("country <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("country like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("country not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("country in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("country not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("country between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("country not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andPubYearIsNull() {
            addCriterion("pub_year is null");
            return (Criteria) this;
        }

        public Criteria andPubYearIsNotNull() {
            addCriterion("pub_year is not null");
            return (Criteria) this;
        }

        public Criteria andPubYearEqualTo(String value) {
            addCriterion("pub_year =", value, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearNotEqualTo(String value) {
            addCriterion("pub_year <>", value, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearGreaterThan(String value) {
            addCriterion("pub_year >", value, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearGreaterThanOrEqualTo(String value) {
            addCriterion("pub_year >=", value, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearLessThan(String value) {
            addCriterion("pub_year <", value, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearLessThanOrEqualTo(String value) {
            addCriterion("pub_year <=", value, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearLike(String value) {
            addCriterion("pub_year like", value, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearNotLike(String value) {
            addCriterion("pub_year not like", value, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearIn(List<String> values) {
            addCriterion("pub_year in", values, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearNotIn(List<String> values) {
            addCriterion("pub_year not in", values, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearBetween(String value1, String value2) {
            addCriterion("pub_year between", value1, value2, "pubYear");
            return (Criteria) this;
        }

        public Criteria andPubYearNotBetween(String value1, String value2) {
            addCriterion("pub_year not between", value1, value2, "pubYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearIsNull() {
            addCriterion("founded_year is null");
            return (Criteria) this;
        }

        public Criteria andFoundedYearIsNotNull() {
            addCriterion("founded_year is not null");
            return (Criteria) this;
        }

        public Criteria andFoundedYearEqualTo(String value) {
            addCriterion("founded_year =", value, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearNotEqualTo(String value) {
            addCriterion("founded_year <>", value, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearGreaterThan(String value) {
            addCriterion("founded_year >", value, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearGreaterThanOrEqualTo(String value) {
            addCriterion("founded_year >=", value, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearLessThan(String value) {
            addCriterion("founded_year <", value, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearLessThanOrEqualTo(String value) {
            addCriterion("founded_year <=", value, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearLike(String value) {
            addCriterion("founded_year like", value, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearNotLike(String value) {
            addCriterion("founded_year not like", value, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearIn(List<String> values) {
            addCriterion("founded_year in", values, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearNotIn(List<String> values) {
            addCriterion("founded_year not in", values, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearBetween(String value1, String value2) {
            addCriterion("founded_year between", value1, value2, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andFoundedYearNotBetween(String value1, String value2) {
            addCriterion("founded_year not between", value1, value2, "foundedYear");
            return (Criteria) this;
        }

        public Criteria andLanguageIsNull() {
            addCriterion("language is null");
            return (Criteria) this;
        }

        public Criteria andLanguageIsNotNull() {
            addCriterion("language is not null");
            return (Criteria) this;
        }

        public Criteria andLanguageEqualTo(String value) {
            addCriterion("language =", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotEqualTo(String value) {
            addCriterion("language <>", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageGreaterThan(String value) {
            addCriterion("language >", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageGreaterThanOrEqualTo(String value) {
            addCriterion("language >=", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLessThan(String value) {
            addCriterion("language <", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLessThanOrEqualTo(String value) {
            addCriterion("language <=", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLike(String value) {
            addCriterion("language like", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotLike(String value) {
            addCriterion("language not like", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageIn(List<String> values) {
            addCriterion("language in", values, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotIn(List<String> values) {
            addCriterion("language not in", values, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageBetween(String value1, String value2) {
            addCriterion("language between", value1, value2, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotBetween(String value1, String value2) {
            addCriterion("language not between", value1, value2, "language");
            return (Criteria) this;
        }

        public Criteria andPubFeqIsNull() {
            addCriterion("pub_feq is null");
            return (Criteria) this;
        }

        public Criteria andPubFeqIsNotNull() {
            addCriterion("pub_feq is not null");
            return (Criteria) this;
        }

        public Criteria andPubFeqEqualTo(String value) {
            addCriterion("pub_feq =", value, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqNotEqualTo(String value) {
            addCriterion("pub_feq <>", value, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqGreaterThan(String value) {
            addCriterion("pub_feq >", value, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqGreaterThanOrEqualTo(String value) {
            addCriterion("pub_feq >=", value, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqLessThan(String value) {
            addCriterion("pub_feq <", value, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqLessThanOrEqualTo(String value) {
            addCriterion("pub_feq <=", value, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqLike(String value) {
            addCriterion("pub_feq like", value, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqNotLike(String value) {
            addCriterion("pub_feq not like", value, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqIn(List<String> values) {
            addCriterion("pub_feq in", values, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqNotIn(List<String> values) {
            addCriterion("pub_feq not in", values, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqBetween(String value1, String value2) {
            addCriterion("pub_feq between", value1, value2, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andPubFeqNotBetween(String value1, String value2) {
            addCriterion("pub_feq not between", value1, value2, "pubFeq");
            return (Criteria) this;
        }

        public Criteria andClassiNumberIsNull() {
            addCriterion("classi_number is null");
            return (Criteria) this;
        }

        public Criteria andClassiNumberIsNotNull() {
            addCriterion("classi_number is not null");
            return (Criteria) this;
        }

        public Criteria andClassiNumberEqualTo(String value) {
            addCriterion("classi_number =", value, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberNotEqualTo(String value) {
            addCriterion("classi_number <>", value, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberGreaterThan(String value) {
            addCriterion("classi_number >", value, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberGreaterThanOrEqualTo(String value) {
            addCriterion("classi_number >=", value, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberLessThan(String value) {
            addCriterion("classi_number <", value, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberLessThanOrEqualTo(String value) {
            addCriterion("classi_number <=", value, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberLike(String value) {
            addCriterion("classi_number like", value, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberNotLike(String value) {
            addCriterion("classi_number not like", value, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberIn(List<String> values) {
            addCriterion("classi_number in", values, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberNotIn(List<String> values) {
            addCriterion("classi_number not in", values, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberBetween(String value1, String value2) {
            addCriterion("classi_number between", value1, value2, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andClassiNumberNotBetween(String value1, String value2) {
            addCriterion("classi_number not between", value1, value2, "classiNumber");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andCarrierIsNull() {
            addCriterion("carrier is null");
            return (Criteria) this;
        }

        public Criteria andCarrierIsNotNull() {
            addCriterion("carrier is not null");
            return (Criteria) this;
        }

        public Criteria andCarrierEqualTo(String value) {
            addCriterion("carrier =", value, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierNotEqualTo(String value) {
            addCriterion("carrier <>", value, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierGreaterThan(String value) {
            addCriterion("carrier >", value, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierGreaterThanOrEqualTo(String value) {
            addCriterion("carrier >=", value, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierLessThan(String value) {
            addCriterion("carrier <", value, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierLessThanOrEqualTo(String value) {
            addCriterion("carrier <=", value, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierLike(String value) {
            addCriterion("carrier like", value, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierNotLike(String value) {
            addCriterion("carrier not like", value, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierIn(List<String> values) {
            addCriterion("carrier in", values, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierNotIn(List<String> values) {
            addCriterion("carrier not in", values, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierBetween(String value1, String value2) {
            addCriterion("carrier between", value1, value2, "carrier");
            return (Criteria) this;
        }

        public Criteria andCarrierNotBetween(String value1, String value2) {
            addCriterion("carrier not between", value1, value2, "carrier");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andPubPatternIsNull() {
            addCriterion("pub_pattern is null");
            return (Criteria) this;
        }

        public Criteria andPubPatternIsNotNull() {
            addCriterion("pub_pattern is not null");
            return (Criteria) this;
        }

        public Criteria andPubPatternEqualTo(String value) {
            addCriterion("pub_pattern =", value, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternNotEqualTo(String value) {
            addCriterion("pub_pattern <>", value, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternGreaterThan(String value) {
            addCriterion("pub_pattern >", value, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternGreaterThanOrEqualTo(String value) {
            addCriterion("pub_pattern >=", value, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternLessThan(String value) {
            addCriterion("pub_pattern <", value, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternLessThanOrEqualTo(String value) {
            addCriterion("pub_pattern <=", value, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternLike(String value) {
            addCriterion("pub_pattern like", value, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternNotLike(String value) {
            addCriterion("pub_pattern not like", value, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternIn(List<String> values) {
            addCriterion("pub_pattern in", values, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternNotIn(List<String> values) {
            addCriterion("pub_pattern not in", values, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternBetween(String value1, String value2) {
            addCriterion("pub_pattern between", value1, value2, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubPatternNotBetween(String value1, String value2) {
            addCriterion("pub_pattern not between", value1, value2, "pubPattern");
            return (Criteria) this;
        }

        public Criteria andPubStatusIsNull() {
            addCriterion("pub_status is null");
            return (Criteria) this;
        }

        public Criteria andPubStatusIsNotNull() {
            addCriterion("pub_status is not null");
            return (Criteria) this;
        }

        public Criteria andPubStatusEqualTo(String value) {
            addCriterion("pub_status =", value, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusNotEqualTo(String value) {
            addCriterion("pub_status <>", value, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusGreaterThan(String value) {
            addCriterion("pub_status >", value, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusGreaterThanOrEqualTo(String value) {
            addCriterion("pub_status >=", value, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusLessThan(String value) {
            addCriterion("pub_status <", value, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusLessThanOrEqualTo(String value) {
            addCriterion("pub_status <=", value, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusLike(String value) {
            addCriterion("pub_status like", value, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusNotLike(String value) {
            addCriterion("pub_status not like", value, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusIn(List<String> values) {
            addCriterion("pub_status in", values, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusNotIn(List<String> values) {
            addCriterion("pub_status not in", values, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusBetween(String value1, String value2) {
            addCriterion("pub_status between", value1, value2, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPubStatusNotBetween(String value1, String value2) {
            addCriterion("pub_status not between", value1, value2, "pubStatus");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(String value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(String value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(String value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(String value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(String value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(String value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLike(String value) {
            addCriterion("price like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotLike(String value) {
            addCriterion("price not like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<String> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<String> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(String value1, String value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(String value1, String value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("currency =", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotEqualTo(String value) {
            addCriterion("currency <>", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("currency >", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("currency >=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("currency <", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanOrEqualTo(String value) {
            addCriterion("currency <=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLike(String value) {
            addCriterion("currency like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotLike(String value) {
            addCriterion("currency not like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyIn(List<String> values) {
            addCriterion("currency in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotIn(List<String> values) {
            addCriterion("currency not in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyBetween(String value1, String value2) {
            addCriterion("currency between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotBetween(String value1, String value2) {
            addCriterion("currency not between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andOaIsNull() {
            addCriterion("OA is null");
            return (Criteria) this;
        }

        public Criteria andOaIsNotNull() {
            addCriterion("OA is not null");
            return (Criteria) this;
        }

        public Criteria andOaEqualTo(Integer value) {
            addCriterion("OA =", value, "oa");
            return (Criteria) this;
        }

        public Criteria andOaNotEqualTo(Integer value) {
            addCriterion("OA <>", value, "oa");
            return (Criteria) this;
        }

        public Criteria andOaGreaterThan(Integer value) {
            addCriterion("OA >", value, "oa");
            return (Criteria) this;
        }

        public Criteria andOaGreaterThanOrEqualTo(Integer value) {
            addCriterion("OA >=", value, "oa");
            return (Criteria) this;
        }

        public Criteria andOaLessThan(Integer value) {
            addCriterion("OA <", value, "oa");
            return (Criteria) this;
        }

        public Criteria andOaLessThanOrEqualTo(Integer value) {
            addCriterion("OA <=", value, "oa");
            return (Criteria) this;
        }

        public Criteria andOaIn(List<Integer> values) {
            addCriterion("OA in", values, "oa");
            return (Criteria) this;
        }

        public Criteria andOaNotIn(List<Integer> values) {
            addCriterion("OA not in", values, "oa");
            return (Criteria) this;
        }

        public Criteria andOaBetween(Integer value1, Integer value2) {
            addCriterion("OA between", value1, value2, "oa");
            return (Criteria) this;
        }

        public Criteria andOaNotBetween(Integer value1, Integer value2) {
            addCriterion("OA not between", value1, value2, "oa");
            return (Criteria) this;
        }

        public Criteria andSystimeIsNull() {
            addCriterion("systime is null");
            return (Criteria) this;
        }

        public Criteria andSystimeIsNotNull() {
            addCriterion("systime is not null");
            return (Criteria) this;
        }

        public Criteria andSystimeEqualTo(Date value) {
            addCriterion("systime =", value, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeNotEqualTo(Date value) {
            addCriterion("systime <>", value, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeGreaterThan(Date value) {
            addCriterion("systime >", value, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeGreaterThanOrEqualTo(Date value) {
            addCriterion("systime >=", value, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeLessThan(Date value) {
            addCriterion("systime <", value, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeLessThanOrEqualTo(Date value) {
            addCriterion("systime <=", value, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeIn(List<Date> values) {
            addCriterion("systime in", values, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeNotIn(List<Date> values) {
            addCriterion("systime not in", values, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeBetween(Date value1, Date value2) {
            addCriterion("systime between", value1, value2, "systime");
            return (Criteria) this;
        }

        public Criteria andSystimeNotBetween(Date value1, Date value2) {
            addCriterion("systime not between", value1, value2, "systime");
            return (Criteria) this;
        }

        public Criteria andSysuseridIsNull() {
            addCriterion("sysuserid is null");
            return (Criteria) this;
        }

        public Criteria andSysuseridIsNotNull() {
            addCriterion("sysuserid is not null");
            return (Criteria) this;
        }

        public Criteria andSysuseridEqualTo(String value) {
            addCriterion("sysuserid =", value, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridNotEqualTo(String value) {
            addCriterion("sysuserid <>", value, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridGreaterThan(String value) {
            addCriterion("sysuserid >", value, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridGreaterThanOrEqualTo(String value) {
            addCriterion("sysuserid >=", value, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridLessThan(String value) {
            addCriterion("sysuserid <", value, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridLessThanOrEqualTo(String value) {
            addCriterion("sysuserid <=", value, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridLike(String value) {
            addCriterion("sysuserid like", value, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridNotLike(String value) {
            addCriterion("sysuserid not like", value, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridIn(List<String> values) {
            addCriterion("sysuserid in", values, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridNotIn(List<String> values) {
            addCriterion("sysuserid not in", values, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridBetween(String value1, String value2) {
            addCriterion("sysuserid between", value1, value2, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysuseridNotBetween(String value1, String value2) {
            addCriterion("sysuserid not between", value1, value2, "sysuserid");
            return (Criteria) this;
        }

        public Criteria andSysusernameIsNull() {
            addCriterion("sysusername is null");
            return (Criteria) this;
        }

        public Criteria andSysusernameIsNotNull() {
            addCriterion("sysusername is not null");
            return (Criteria) this;
        }

        public Criteria andSysusernameEqualTo(String value) {
            addCriterion("sysusername =", value, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameNotEqualTo(String value) {
            addCriterion("sysusername <>", value, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameGreaterThan(String value) {
            addCriterion("sysusername >", value, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameGreaterThanOrEqualTo(String value) {
            addCriterion("sysusername >=", value, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameLessThan(String value) {
            addCriterion("sysusername <", value, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameLessThanOrEqualTo(String value) {
            addCriterion("sysusername <=", value, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameLike(String value) {
            addCriterion("sysusername like", value, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameNotLike(String value) {
            addCriterion("sysusername not like", value, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameIn(List<String> values) {
            addCriterion("sysusername in", values, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameNotIn(List<String> values) {
            addCriterion("sysusername not in", values, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameBetween(String value1, String value2) {
            addCriterion("sysusername between", value1, value2, "sysusername");
            return (Criteria) this;
        }

        public Criteria andSysusernameNotBetween(String value1, String value2) {
            addCriterion("sysusername not between", value1, value2, "sysusername");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNull() {
            addCriterion("order_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNotNull() {
            addCriterion("order_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualTo(Integer value) {
            addCriterion("order_status =", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualTo(Integer value) {
            addCriterion("order_status <>", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThan(Integer value) {
            addCriterion("order_status >", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_status >=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThan(Integer value) {
            addCriterion("order_status <", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualTo(Integer value) {
            addCriterion("order_status <=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIn(List<Integer> values) {
            addCriterion("order_status in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotIn(List<Integer> values) {
            addCriterion("order_status not in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusBetween(Integer value1, Integer value2) {
            addCriterion("order_status between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("order_status not between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusIsNull() {
            addCriterion("distribution_status is null");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusIsNotNull() {
            addCriterion("distribution_status is not null");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusEqualTo(Integer value) {
            addCriterion("distribution_status =", value, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusNotEqualTo(Integer value) {
            addCriterion("distribution_status <>", value, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusGreaterThan(Integer value) {
            addCriterion("distribution_status >", value, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("distribution_status >=", value, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusLessThan(Integer value) {
            addCriterion("distribution_status <", value, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusLessThanOrEqualTo(Integer value) {
            addCriterion("distribution_status <=", value, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusIn(List<Integer> values) {
            addCriterion("distribution_status in", values, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusNotIn(List<Integer> values) {
            addCriterion("distribution_status not in", values, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusBetween(Integer value1, Integer value2) {
            addCriterion("distribution_status between", value1, value2, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andDistributionStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("distribution_status not between", value1, value2, "distributionStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusIsNull() {
            addCriterion("review_status is null");
            return (Criteria) this;
        }

        public Criteria andReviewStatusIsNotNull() {
            addCriterion("review_status is not null");
            return (Criteria) this;
        }

        public Criteria andReviewStatusEqualTo(Integer value) {
            addCriterion("review_status =", value, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusNotEqualTo(Integer value) {
            addCriterion("review_status <>", value, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusGreaterThan(Integer value) {
            addCriterion("review_status >", value, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("review_status >=", value, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusLessThan(Integer value) {
            addCriterion("review_status <", value, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusLessThanOrEqualTo(Integer value) {
            addCriterion("review_status <=", value, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusIn(List<Integer> values) {
            addCriterion("review_status in", values, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusNotIn(List<Integer> values) {
            addCriterion("review_status not in", values, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusBetween(Integer value1, Integer value2) {
            addCriterion("review_status between", value1, value2, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andReviewStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("review_status not between", value1, value2, "reviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusIsNull() {
            addCriterion("upd_review_status is null");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusIsNotNull() {
            addCriterion("upd_review_status is not null");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusEqualTo(Integer value) {
            addCriterion("upd_review_status =", value, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusNotEqualTo(Integer value) {
            addCriterion("upd_review_status <>", value, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusGreaterThan(Integer value) {
            addCriterion("upd_review_status >", value, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("upd_review_status >=", value, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusLessThan(Integer value) {
            addCriterion("upd_review_status <", value, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusLessThanOrEqualTo(Integer value) {
            addCriterion("upd_review_status <=", value, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusIn(List<Integer> values) {
            addCriterion("upd_review_status in", values, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusNotIn(List<Integer> values) {
            addCriterion("upd_review_status not in", values, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusBetween(Integer value1, Integer value2) {
            addCriterion("upd_review_status between", value1, value2, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andUpdReviewStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("upd_review_status not between", value1, value2, "updReviewStatus");
            return (Criteria) this;
        }

        public Criteria andLiteratureIsNull() {
            addCriterion("literature is null");
            return (Criteria) this;
        }

        public Criteria andLiteratureIsNotNull() {
            addCriterion("literature is not null");
            return (Criteria) this;
        }

        public Criteria andLiteratureEqualTo(String value) {
            addCriterion("literature =", value, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureNotEqualTo(String value) {
            addCriterion("literature <>", value, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureGreaterThan(String value) {
            addCriterion("literature >", value, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureGreaterThanOrEqualTo(String value) {
            addCriterion("literature >=", value, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureLessThan(String value) {
            addCriterion("literature <", value, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureLessThanOrEqualTo(String value) {
            addCriterion("literature <=", value, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureLike(String value) {
            addCriterion("literature like", value, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureNotLike(String value) {
            addCriterion("literature not like", value, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureIn(List<String> values) {
            addCriterion("literature in", values, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureNotIn(List<String> values) {
            addCriterion("literature not in", values, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureBetween(String value1, String value2) {
            addCriterion("literature between", value1, value2, "literature");
            return (Criteria) this;
        }

        public Criteria andLiteratureNotBetween(String value1, String value2) {
            addCriterion("literature not between", value1, value2, "literature");
            return (Criteria) this;
        }

        public Criteria andInletIsNull() {
            addCriterion("inlet is null");
            return (Criteria) this;
        }

        public Criteria andInletIsNotNull() {
            addCriterion("inlet is not null");
            return (Criteria) this;
        }

        public Criteria andInletEqualTo(Integer value) {
            addCriterion("inlet =", value, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletNotEqualTo(Integer value) {
            addCriterion("inlet <>", value, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletGreaterThan(Integer value) {
            addCriterion("inlet >", value, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletGreaterThanOrEqualTo(Integer value) {
            addCriterion("inlet >=", value, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletLessThan(Integer value) {
            addCriterion("inlet <", value, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletLessThanOrEqualTo(Integer value) {
            addCriterion("inlet <=", value, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletIn(List<Integer> values) {
            addCriterion("inlet in", values, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletNotIn(List<Integer> values) {
            addCriterion("inlet not in", values, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletBetween(Integer value1, Integer value2) {
            addCriterion("inlet between", value1, value2, "inlet");
            return (Criteria) this;
        }

        public Criteria andInletNotBetween(Integer value1, Integer value2) {
            addCriterion("inlet not between", value1, value2, "inlet");
            return (Criteria) this;
        }

        public Criteria andRidIsNull() {
            addCriterion("rid is null");
            return (Criteria) this;
        }

        public Criteria andRidIsNotNull() {
            addCriterion("rid is not null");
            return (Criteria) this;
        }

        public Criteria andRidEqualTo(String value) {
            addCriterion("rid =", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotEqualTo(String value) {
            addCriterion("rid <>", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidGreaterThan(String value) {
            addCriterion("rid >", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidGreaterThanOrEqualTo(String value) {
            addCriterion("rid >=", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLessThan(String value) {
            addCriterion("rid <", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLessThanOrEqualTo(String value) {
            addCriterion("rid <=", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLike(String value) {
            addCriterion("rid like", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotLike(String value) {
            addCriterion("rid not like", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidIn(List<String> values) {
            addCriterion("rid in", values, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotIn(List<String> values) {
            addCriterion("rid not in", values, "rid");
            return (Criteria) this;
        }

        public Criteria andRidBetween(String value1, String value2) {
            addCriterion("rid between", value1, value2, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotBetween(String value1, String value2) {
            addCriterion("rid not between", value1, value2, "rid");
            return (Criteria) this;
        }

        public Criteria andOrganIdIsNull() {
            addCriterion("organ_id is null");
            return (Criteria) this;
        }

        public Criteria andOrganIdIsNotNull() {
            addCriterion("organ_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrganIdEqualTo(String value) {
            addCriterion("organ_id =", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdNotEqualTo(String value) {
            addCriterion("organ_id <>", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdGreaterThan(String value) {
            addCriterion("organ_id >", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdGreaterThanOrEqualTo(String value) {
            addCriterion("organ_id >=", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdLessThan(String value) {
            addCriterion("organ_id <", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdLessThanOrEqualTo(String value) {
            addCriterion("organ_id <=", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdLike(String value) {
            addCriterion("organ_id like", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdNotLike(String value) {
            addCriterion("organ_id not like", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdIn(List<String> values) {
            addCriterion("organ_id in", values, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdNotIn(List<String> values) {
            addCriterion("organ_id not in", values, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdBetween(String value1, String value2) {
            addCriterion("organ_id between", value1, value2, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdNotBetween(String value1, String value2) {
            addCriterion("organ_id not between", value1, value2, "organId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}